import $ from 'jquery'

$('ul li').each(function (i, el) {
    $(el).css('color', i % 2 == 1 ? 'red' : 'green')
})

import './assets/css/style.css'

import './assets/less/index.less'

import imgUrl from './assets/image/logo.png'

const oimg = document.createElement('img')
oimg.src = imgUrl
document.body.appendChild(oimg)

import './assets/font/iconfont.css'

const i1 = document.createElement('i')
const i2 = document.createElement('i')
i1.className = 'iconfont icon-qq'
i2.className = 'iconfont icon-weixin'
document.body.appendChild(i1)
document.body.appendChild(i2)

const fn = () => {
    console.log("我是箭头函数");
}
console.log(fn);